package util

import "github.com/gofiber/fiber/v2"

func SendResponse(ctx *fiber.Ctx, data interface{}) {
	ctx.JSON(map[string]interface{}{
		"code": 0,
		"data": data,
		"msg":  "success",
	})
}
